package com.fgw.pojo;

public class Teacher {
    private Integer tid;//id

    private String tname;

    private String tuser;

    private String tpassword;

    private Integer tgender;

    private String tphone;

    private String taddress;

    private String tposition;

    private String tspecialty;

    private Integer tstudentnum;

    private Integer tlikenum;

    private  Integer  role_id;

    public Teacher(Integer tid, String tname, String tuser, String tpassword, Integer tgender, String tphone, String taddress, String tposition, String tspecialty, Integer tstudentnum, Integer tlikenum, Integer role_id) {
        this.tid = tid;
        this.tname = tname;
        this.tuser = tuser;
        this.tpassword = tpassword;
        this.tgender = tgender;
        this.tphone = tphone;
        this.taddress = taddress;
        this.tposition = tposition;
        this.tspecialty = tspecialty;
        this.tstudentnum = tstudentnum;
        this.tlikenum = tlikenum;
        this.role_id = role_id;
    }

    public Teacher() {
        super();
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Integer getRole_id() {
        return role_id;
    }

    public void setRole_id(Integer role_id) {
        this.role_id = role_id;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname == null ? null : tname.trim();
    }

    public String getTuser() {
        return tuser;
    }

    public void setTuser(String tuser) {
        this.tuser = tuser == null ? null : tuser.trim();
    }

    public String getTpassword() {
        return tpassword;
    }

    public void setTpassword(String tpassword) {
        this.tpassword = tpassword == null ? null : tpassword.trim();
    }

    public Integer getTgender() {
        return tgender;
    }

    public void setTgender(Integer tgender) {
        this.tgender = tgender;
    }

    public String getTphone() {
        return tphone;
    }

    public void setTphone(String tphone) {
        this.tphone = tphone == null ? null : tphone.trim();
    }

    public String getTaddress() {
        return taddress;
    }

    public void setTaddress(String taddress) {
        this.taddress = taddress == null ? null : taddress.trim();
    }

    public String getTposition() {
        return tposition;
    }

    public void setTposition(String tposition) {
        this.tposition = tposition == null ? null : tposition.trim();
    }

    public String getTspecialty() {
        return tspecialty;
    }

    public void setTspecialty(String tspecialty) {
        this.tspecialty = tspecialty == null ? null : tspecialty.trim();
    }

    public Integer getTstudentnum() {
        return tstudentnum;
    }

    public void setTstudentnum(Integer tstudentnum) {
        this.tstudentnum = tstudentnum;
    }

    public Integer getTlikenum() {
        return tlikenum;
    }

    public void setTlikenum(Integer tlikenum) {
        this.tlikenum = tlikenum;
    }
}